home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
doors_1
/
mach10.zip
/
FILETRAN.BAT
< prev
next >
Wrap
DOS Batch File
|
1990-06-27
|
1KB
|
34 lines
rem 1 = Protocol type 4 = Baud rate
rem 2 = Path 5 = Com port
rem 3 = File name
\binkley\capture off
if exist bimodem.pth del bimodem.pth
if %6==S goto send
if %6==R goto receive
goto exit
:send
if %1==W \scottbbs\extproto\wxmodem -b %4 -l com%5 -f %2\%3 -s
if %1==Z \scottbbs\extproto\dsz port %5 sz %2\%3
if %1==X \scottbbs\extproto\dsz port %5 sx %2\%3
if %1==C \scottbbs\extproto\dsz port %5 sx %2\%3
if %1==Y \scottbbs\extproto\qmxfer -C -S -F %2\%3 -L com%5 -B %4 -P Y
if %1==M \scottbbs\extproto\mlink PORT %5 SPEED %4 SM %2\%3
if %1==J \scottbbs\extproto\jmodem S%5 %2\%3
if %1==S \scottbbs\extproto\bimodem /C c:\scottbbs\extproto\bimodem.cfg /U %2\%3
if %1==H \scottbbs\extproto\HyperP BAUD:%4 DISPLAY:OFF PORT:%5 SEND %2\%3
goto exit
:receive
if %1==W \scottbbs\extproto\wxmodem -b %4 -l com%5 -f %2\%3 -r
if %1==Z \scottbbs\extproto\dsz port %5 rz %2\%3
if %1==X \scottbbs\extproto\dsz port %5 rx %2\%3
if %1==C \scottbbs\extproto\dsz port %5 rc %2\%3
if %1==Y \scottbbs\extproto\qmxfer -C -R -F %2\%3 -L com%5 -B %4 -P Y
if %1==B \scottbbs\extproto\dsz port %5 rb %2\%3
if %1==M \scottbbs\extproto\mlink PORT %5 SPEED %4 RM %2
if %1==J \scottbbs\extproto\jmodem R%5 %2\%3
if %1==S \scottbbs\extproto\bimodem /C c:\scottbbs\extproto\bimodem.cfg /D %2\%3
if %1==H \scottbbs\extproto\HyperP BAUD:%4 DISPLAY:OFF PORT:%5 RECEIVE %2\%3
goto exit
:exit
\binkley\capture on